package org.demo.patten.prototype;

/**
 * @author zhuj
 * @date 2025/3/21
 * @apiNote
 * 原型模式
 */
public class Test {
    public static void main(String[] args) {
        Resume origin = new Resume("Alice", 28, "5 years in Java");
        Resume copy = origin.clone();
        //copy.setAge(11);
        //copy.setName("Bob");
        System.out.println(copy==origin);
    }
}
